﻿using System;
using System.Collections.Generic;

using System.Text;
using System.Data;
using System.Data.SqlClient;
using Fodee.DataEntity;

namespace Fodee.DataAccess
{
    public class OrderDA : DataAccess
    {
        public FodeeDataSet GetOrderView(int id)
        {
            DataBase database = new DataBase();
            SqlParameter param = new SqlParameter("@ID", id);
            FodeeDataSet ds = new FodeeDataSet();
            database.ExcuteQuery("P_v_Order_S", ds.v_Order,new SqlParameter[] { param });
            return ds;
        }
    }
}
